<?php

class Kd_Html_Element_Label extends Kd_Html_Element {

    private $_text = '';

    public function  __construct() {
        parent::__construct();
    }

    public function getText(){
        return $this->_text;
    }
    public function setText($value){
        $this->_text = $value;
        return $this;
    }
    
    protected function render(){
        return '<span>'.$this->getText().'</span>';
    }
}